{if (($pagename eq 'user') && ($doing eq 'view_comments'))}
<div class="news-summary" id="xnews-{$link_shakebox_index}"
	{if $link_shakebox_currentuser_reports gt 0}
	    style="opacity:0.3;filter:alpha(opacity = 30)"
	{/if}
>
	
	<!--{if $Voting_Method eq 1}
		{if $story_status eq "published"}
			<ul class="news-upcoming">
		{else}
			<ul class="news-upcoming2">
		{/if}
				<li class="vote-publish"><a id="xvotes-{$link_shakebox_index}" href="{$story_url}">{$link_shakebox_votes}</a></li>
				<li class="vote" id="xvote-{$link_shakebox_index}">
					{if $link_shakebox_currentuser_votes eq 0 && $link_shakebox_currentuser_reports eq 0}
						<a href="javascript:{$link_shakebox_javascript_vote}">{#PLIGG_Visual_Vote_For_It#}</a>
					{else}
						{if $link_shakebox_currentuser_reports neq 0}
							<span>{#PLIGG_Visual_Vote_Report#}</span>
						{else}
							<span>{#PLIGG_Visual_Vote_Cast#}</span>
						{/if}
					{/if}
				</li>
			</ul>
			
			<ul class="news-upcoming3">
				<li class="vote-publish"><a id="xcomments-{$link_shakebox_index}" href="{$story_url}">{$story_comment_count}</a></li>
				<li class="vote" id="xcomment-{$link_shakebox_index}">
					<span>评论</span>				
				</li>
			</ul>
	{/if}	-->

	{if $Voting_Method eq 2}
		<h4 id="ls_title-{$link_shakebox_index}">
			<ul class='star-rating{$star_class}' id="xvotes-{$link_shakebox_index}">
				<li class="current-rating" style="width: {$link_rating_width}px;" id="xvote-{$link_shakebox_index}"></li>
				<span id="mnmc-{$link_shakebox_index}">
					{if $link_shakebox_currentuser_votes eq 0}
						<li><a href="javascript:{$link_shakebox_javascript_vote_1star}" class='one-star'>1</a></li>
						<li><a href="javascript:{$link_shakebox_javascript_vote_2star}" class='two-stars'>2</a></li>
						<li><a href="javascript:{$link_shakebox_javascript_vote_3star}" class='three-stars'>3</a></li>
						<li><a href="javascript:{$link_shakebox_javascript_vote_4star}" class='four-stars'>4</a></li>
						<li><a href="javascript:{$link_shakebox_javascript_vote_5star}" class='five-stars'>5</a></li>
					{else}
						<li class='one-star-noh'>1</li>
						<li class='two-stars-noh'>2</li>
						<li class='three-stars-noh'>3</li>
						<li class='four-stars-noh'>4</li>
						<li class='five-stars-noh'>5</li>
					{/if}
				</span>
			</ul>
		</h4>
	{/if}

	<div class="top">
		<div class="toptitle" id="ls_thetitle-{$link_shakebox_index}">
		{if $link_owner_url!=''}<a href="{$link_owner_url}" target="_blank"><img src="{$Owner_Avatar_ImgSrc}" alt=""/>{$link_owner_nickname}</a>{else}<img src="{$Owner_Avatar_ImgSrc}" alt=""/>{$link_owner_nickname}{/if}
			{if $use_title_as_link eq true}
				{if $url_short neq "http://" && $url_short neq "://"}
					<a href="{$url}" {if $open_in_new_window eq true} target="_blank"{/if}>{$title_short}</a>
				{else}
					<a href="{$story_url}">{$title_short}</a>
				{/if}
		     {else}
				{if $pagename eq "story"}
					<a href="{$url}" target="_blank">{$title_short}</a>
				{else} 
				  <a href="{$story_url}" target="_blank">{$title_short}</a>
				{/if}
			{/if}        
		</div>
		
			{if $enable_tags eq 'true'}
				{if $tags ne ''}
					<!--|--> 
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span id="ls_tags-{$link_shakebox_index}"><b><a href="{$URL_tagcloud}" title="Tags" style='text-decoration: none;'>{#PLIGG_Visual_Tags_Link_Summary#}</a></b>: 
					{section name=thistag loop=$tag_array}
						<a href="{$tags_url_array[thistag]}" style='text-decoration: none;'>{$tag_array[thistag]}</a>
					{/section}
					</span> 
				{/if}
			{/if}		
			{if $isadmin eq "yes"}
				<span id="adminlinksbuttom"> | <a href="javascript://" onclick="var replydisplay=document.getElementById('ls_adminlinks-{$link_shakebox_index}').style.display ? '' : 'none';document.getElementById('ls_adminlinks-{$link_shakebox_index}').style.display = replydisplay;">{#PLIGG_Visual_Admin_Links#}</a></span>
			{/if}
			
			<span id="ls_adminlinks-{$link_shakebox_index}" style="display:none">
				{if $isadmin eq "yes"}
					<span id="ls_admin_links-{$link_shakebox_index}">
						<br /><a href="{$story_edit_url}">{#PLIGG_Visual_LS_Admin_Edit#}</a>
						<br /><a href="{$story_admin_url}">{#PLIGG_Visual_LS_Admin_Status#}</a>
				  		{checkActionsTpl location="tpl_link_summary_admin_links"}
					</span>
				{else}
					{if $user_logged_in eq $link_submitter}
						<span id="ls_user_edit_links-{$link_shakebox_index}"><br /><a href="{$story_edit_url}">{#PLIGG_Visual_LS_Admin_Edit#}</a></span>
					{/if}
				{/if}
			</span>

		<!--<div class="news-submitted">-->
		<div>
			{if $use_thumbnails eq true && $pagename eq "story" && $url_short neq "http://" && $url_short neq "://"}
				<b><img src="http://images.websnapr.com/?url={$url_short}&size=T" style="float:right; padding-left:10px;padding-top:35px;"></b>
			{/if}
			
			<!--<a href="javascript://" onclick="show_hide_user_links(document.getElementById('userlinks-{$link_shakebox_index}'));">	
			<a href="">{if $UseAvatars neq "0"}<span id="ls_avatar-{$link_shakebox_index}"><img src="{$Avatar_ImgSrc}" alt="Avatar" /></span>{/if}
			</a>-->
			
			<span id="ls_posted_by-{$link_shakebox_index}"></span>
				<!--{if $link_submitter neq $user_logged_in}			
					<a href="javascript://" onclick="show_hide_user_links(document.getElementById('userlinks-{$link_shakebox_index}'));">
				{else}
					<a href="{$submitter_profile_url}">
				{/if}-->
				<!--<a href="{$submitter_profile_url}" target="_blank">
			<span id="ls_link_submitter-{$link_shakebox_index}"><img src="{$Avatar_ImgSrc}" alt="Avatar" />{$link_submitter_names}</span></a>于{$link_published_date}首次推荐 &nbsp;&nbsp;&nbsp;&nbsp;-->
			<!--<span id="ls_link_voter-{$link_shakebox_index}">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;于{$voter_date}{if $link_submitter_id == $voter_id}首次{/if}推荐&nbsp;&nbsp;&nbsp;&nbsp;</span>-->
			<!--{if $voter_comments_count > 0}
				<span id="ls_voter_comments-{$link_shakebox_index}">
					<span>
						<img src="{$my_pligg_base}/templates/{$the_template}/images/comment_yellow.gif" /><a href="javascript://" onclick="show_voter_comments({$link_shakebox_index});"><span id="votercommentsdisplay-{$link_shakebox_index}">查看评论<span></a> &nbsp;&nbsp;&nbsp;&nbsp;
					</span>
				</span>
			{/if}-->
			<!--{if $Enable_Recommend eq 1 && $user_logged_in neq ""}
				<span id="ls_recommend-{$link_shakebox_index}">
					<span id="linksummaryTellFriend">
						<a href="javascript://" onclick="show_recommend({$link_shakebox_index}, {$link_id}, '{$instpath}');"> {#PLIGG_Visual_Recommend_Link_Text#}</a> &nbsp;
					</span>
				</span> 
			{/if}-->
			
			<!--<span id="ls_timeago-{$link_shakebox_index}">{$link_submit_time}
				{if $Voting_Method eq 2} - <strong>{#PLIGG_Visual_Vote_Average#}: <span id="mnma-{$link_shakebox_index}">{$link_rating}</span> {#PLIGG_Visual_Vote_Average_With#} <span id="mnmb-{$link_shakebox_index}">{$vote_count}</span> {#PLIGG_Visual_Vote_Average_Votes#}</strong>{/if}
			</span>-->
			
			<span style="display: none" id="ls_story_link-{$link_shakebox_index}">
				{if $url_short neq "http://" && $url_short neq "://"}
					(<a href="{$url}" {if $open_in_new_window eq true} target="_blank"{/if}>{$url_short}</a>)
				{else}
					({$No_URL_Name})
				{/if}
			</span>	
			
			<span id="userlinks-{$link_shakebox_index}" style="display:none;">
			<a href = "{$submitter_profile_url}">{#PLIGG_Visual_LS_View_Profile#}</a>  
				{if $FriendMD5 neq ""}
					| 
					{if $Allow_Friends eq 1}
						<a href ="{$user_add_remove}">{$Friend_Text} {#PLIGG_Visual_LS_My_Friends#}</a>
					{/if}
				{/if}
			</span>
			<br/>
			
			<!--{if $link_category neq ""}
				<span id="ls_category-{$link_shakebox_index}"><b><a href="{$category_url}" style='text-decoration:none;'>{#PLIGG_MiscWords_Category#}</a></b>: <a href="{$category_url}">{$link_category}</a></span>
			{else}
				<br/>
			{/if}-->	
				
			
			
		</div>
		
		{if $viewtype neq "short"}
		    <span class="news-body-text">
		  		<span id="ls_contents-{$link_shakebox_index}">
			  		{checkActionsTpl location="tpl_link_summary_pre_story_content"}
			  		
					{if ($show_content neq 'FALSE') && ($pagename neq 'story')}
					{$story_content}
					{/if} 
					
					{if $Enable_Extra_Field_1 eq 1}{if $link_field1 neq ""}<br/><b>{$Field_1_Title}:</b> {$link_field1}{/if}{/if}
					{if $Enable_Extra_Field_2 eq 1}{if $link_field2 neq ""}<br/><b>{$Field_2_Title}:</b> {$link_field2}{/if}{/if}
					{if $Enable_Extra_Field_3 eq 1}{if $link_field3 neq ""}<br/><b>{$Field_3_Title}:</b> {$link_field3}{/if}{/if}
					{if $Enable_Extra_Field_4 eq 1}{if $link_field4 neq ""}<br/><b>{$Field_4_Title}:</b> {$link_field4}{/if}{/if}
					{if $Enable_Extra_Field_5 eq 1}{if $link_field5 neq ""}<br/><b>{$Field_5_Title}:</b> {$link_field5}{/if}{/if}
					{if $Enable_Extra_Field_6 eq 1}{if $link_field6 neq ""}<br/><b>{$Field_6_Title}:</b> {$link_field6}{/if}{/if}
					{if $Enable_Extra_Field_7 eq 1}{if $link_field7 neq ""}<br/><b>{$Field_7_Title}:</b> {$link_field7}{/if}{/if}
					{if $Enable_Extra_Field_8 eq 1}{if $link_field8 neq ""}<br/><b>{$Field_8_Title}:</b> {$link_field8}{/if}{/if}
					{if $Enable_Extra_Field_9 eq 1}{if $link_field9 neq ""}<br/><b>{$Field_9_Title}:</b> {$link_field9}{/if}{/if}
					{if $Enable_Extra_Field_10 eq 1}{if $link_field10 neq ""}<br/><b>{$Field_10_Title}:</b> {$link_field10}{/if}{/if}
					{if $Enable_Extra_Field_11 eq 1}{if $link_field11 neq ""}<br/><b>{$Field_11_Title}:</b> {$link_field11}{/if}{/if}
					{if $Enable_Extra_Field_12 eq 1}{if $link_field12 neq ""}<br/><b>{$Field_12_Title}:</b> {$link_field12}{/if}{/if}
					{if $Enable_Extra_Field_13 eq 1}{if $link_field13 neq ""}<br/><b>{$Field_13_Title}:</b> {$link_field13}{/if}{/if}
					{if $Enable_Extra_Field_14 eq 1}{if $link_field14 neq ""}<br/><b>{$Field_14_Title}:</b> {$link_field14}{/if}{/if}
					{if $Enable_Extra_Field_15 eq 1}{if $link_field15 neq ""}<br/><b>{$Field_15_Title}:</b> {$link_field15}{/if}{/if} 		  			
					<!--{if $pagename neq "story"} <a href="{$story_url}">{#PLIGG_Visual_Read_More#}</a> &raquo; {/if}--><br /> 
		  		</span>
		    </span>
	  	{/if}
		
	    <span class="news-details">
	    	<span id="ls_comments_url-{$link_shakebox_index}" style="display:none">
	    		{if $story_comment_count eq 0}
					
	    			<span id="linksummaryDiscuss"><a href="{$story_url}" class="comments">{#PLIGG_MiscWords_Discuss#}</a> &nbsp;</span>
	    		{/if}
	    		{if $story_comment_count eq 1}
	    			<span id="linksummaryHasComment"><a href="{$story_url}" class="comments2">{$story_comment_count} {#PLIGG_MiscWords_Comment#}</a> &nbsp;</span>
	    		{/if}
	    		{if $story_comment_count gt 1}
	    			<span id="linksummaryHasComment"><a href="{$story_url}" class="comments2">{$story_comment_count} {#PLIGG_MiscWords_Comments#}</a> &nbsp;</span>
	    		{/if}
	    	</span>  
	    	
			{if $Enable_AddTo eq 1}
				<span id="linksummaryAddLink">
					<a href="javascript://" onclick="var replydisplay=document.getElementById('addto-{$link_shakebox_index}').style.display ? '' : 'none';document.getElementById('addto-{$link_shakebox_index}').style.display = replydisplay;"> {#PLIGG_Visual_LS_AddThisLinkTo#}</a>&nbsp;
				</span>
			{/if}
				
			<!--{if $Enable_Recommend eq 1 }
				<span id="ls_recommend_to_system-{$link_shakebox_index}">
					<span id="linkrecommend">
					{if $link_shakebox_currentuser_votes eq 0 && $link_shakebox_currentuser_reports eq 0}
						<a href="javascript:{$link_shakebox_javascript_vote}"><img src="/pligg/templates/yget/images/recommend.PNG">{#PLIGG_Visual_Vote_For_It#}</a> &nbsp;{/if}
					</span>
				</span> 
			{/if}		-->		
	
					
			
			<!--{if $user_logged_in neq ""}
				<iframe height="0px;" width="0px;" frameborder="0" name="add_stories"></iframe>
				{if $link_mine eq 0}
					<span id="linksummarySaveLink"><a target="add_stories" href="{$user_url_add_links}" onclick="show_hide_user_links(document.getElementById('stories-{$link_shakebox_index}'));">{#PLIGG_MiscWords_Save_Links_Save#}</a>&nbsp;
				{else}
					<span id="linksummaryRemoveLink"><a target="add_stories" href="{$user_url_remove_links}" onclick="show_hide_user_links(document.getElementById('stories-{$link_shakebox_index}'));">{#PLIGG_MiscWords_Save_Links_Remove#}</a>&nbsp;
				{/if}
					</span>
					<span id="stories-{$link_shakebox_index}" style="display:none;"> &raquo; {#PLIGG_MiscWords_Save_Links_Success#} <a href="{$user_url_saved}">{#PLIGG_MiscWords_Save_Links_Go_To_Saved#}</a></span> &nbsp;
			{/if}	
			-->
			{if $user_logged_in eq $link_submitter}
				<span style="display:none" id="ls_user_edit_links-{$link_shakebox_index}"><a href="{$story_edit_url}">{#PLIGG_Visual_LS_Admin_Edit#}</a></span>
			{/if}
				
			{if $link_shakebox_currentuser_votes eq 0 && $link_shakebox_currentuser_reports eq 0}
				<span style="display:none" id="xreport-{$link_shakebox_index}"><span id="linksummaryBury"><a href="javascript:{$link_shakebox_javascript_report}">{#PLIGG_Visual_Vote_Bury#}</a></span></span>
			{/if}
 		
			{if $Enable_AddTo eq 1}
				<span id="addto-{$link_shakebox_index}" style="display:none"><br />{#PLIGG_Visual_LS_AddTo#}
					&nbsp;&nbsp;<a title="submit '{$title_short}' to del.icio.us" href="http://del.icio.us/post" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url={$enc_url}&amp;title={$enc_title_short}', '{#PLIGG_Visual_LS_Delicious#}','toolbar=no,width=700,height=400'); return false;"><img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/delicious.png" border="0" alt="submit '{$title_short}' to del.icio.us" /></a>
					&nbsp;&nbsp;<a title="submit '{$title_short}' to digg" href="http://digg.com/submit?phase=2&amp;url={$enc_url}&amp;title={$title_short}&amp;bodytext={$story_content}"><img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/digg.png" border="0" alt="submit '{$title_short}' to digg" /></a>
					&nbsp;&nbsp;<a title="submit '{$title_short}' to reddit" href="http://reddit.com/submit?url={$enc_url}&amp;title={$title_short}"><img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/reddit.gif" border="0" alt="submit '{$title_short}' to reddit" /></a>
					&nbsp;&nbsp;<a title="submit '{$title_short}' to Pligg" href="http://pligg.com/submit.php?url={$enc_url}&amp;title={$title_short}"><img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/pligg.png" border="0" alt="submit '{$title_short}' to Pligg" /></a>
					&nbsp;&nbsp;<a title="submit '{$title_short}' to yahoo" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u={$enc_url}&amp;title={$title_short}"><img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/yahoomyweb.png" border="0" alt="submit '{$title_short}' to yahoo" /></a>
					&nbsp;&nbsp;|&nbsp;&nbsp; <a href="javascript:bookmarksite('{$title_url}', '{$enc_url}')">{#PLIGG_Visual_LS_Fav_Book#}</a>&nbsp;&nbsp;
				</span>
			{/if}	
			
			{if $comments_count > 0}	
				<span id="comments-{$link_shakebox_index}">
					{section name=nr loop=$comments}
						<a id="c{$comments[nr].comment_id}"></a>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<div id="comment-wrap">
							<div id="comment-head"> 	
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;于{$comments[nr].comment_date}发表 {if $comments[nr].comment_votes lt 0} - <span id = "show_hide_comment_content-{$comment_id}"> <a href = "javascript://"  onclick="var replydisplay=document.getElementById('comment_content-{$comment_id}').style.display ? '' : 'none'; document.getElementById('comment_content-{$comment_id}').style.display = replydisplay;">{#PLIGG_Visual_Comment_Show_Hide#}</a> {#PLIGG_Visual_Comment_This_Comment#} </span> {/if} 
							</div>
							<div class="comment-body" id="wholecomment{$comments[nr].comment_id}"> 
								{if $voter_comments[nr].comment_votes gte 0} 
									<span id = "comment_content-{$comments[nr].comment_id}"> <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$comments[nr].comment_content}</span> 
								{else}
									<span id = "comment_content-{$comment_id}" style="display:none"> <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$voter_comments[nr].comment_content}</span>
								{/if}
							</div>
						</div>
					{/section}
				</span>
			{/if}
			
			{if $Enable_Recommend eq 1}
				{if $Recommend_Type eq 1}
					<span id="emailto-{$link_shakebox_index}" style="display:none"></span>
				{/if}
			{/if}

			{checkActionsTpl location="tpl_link_summary_end"}
		</span>
	</div>	
</div>
{/if}